close all
clear all


khz=2826345;
A(:,1)=load('matrixtest-g++4.7-NOEO3');
A(:,2)=load('matrixtest-g++4.7-NOEO3loop');
A(:,3)=load('matrixtest-g++4.7-NOEO3Mloop');
A(:,4)=load('matrixtest-g++4.7-O3');
A(:,5)=load('matrixtest-g++4.7-O3loop');
A(:,6)=load('matrixtest-g++4.7-O3Mloop');
A=A(20:end,:);
figure;
plot(A)
A=A./khz;
figure;
boxplot(A);
grid on 
line([3.5 3.5],[2 20],'Linestyle','--','Color','k')
ylabel('performance boxplot (ms)','rot',90)
xlabel('Optimization modes')
set(gca,'XTick',[1:6])
set(gca,'XTickLabel',{'a';'b';'c';'d';'e';'f'})